﻿using System.Collections.Generic;

namespace MoreExtentions
{
    public static partial class Linq
    {
        public static List<T> EmptyIfNull<T>(this List<T> collection)
        {
            return collection ?? new List<T>();
        }
    }
}